package cn.tedu.cloudcar01.mapper;

import cn.tedu.cloudcar01.pojo.entiry.Vehicle;
import cn.tedu.cloudcar01.pojo.vo.VehicleListQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface VehicleMapper {
    public void addVehicle(Vehicle vehicle);


    List<VehicleListQuery> list(@Param("brand") String brand, @Param("license")String license, @Param("userId")Long userId);

    void deleteVehicleById(@Param("id")Integer id,@Param("userId")Long userId);
}
